<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <script src="../build/react.js"></script>
  <script src="../build/react-dom.js"></script>
  <script src="../build/browser.min.js"></script>
  <title>demo2</title>
</head>
<body>
  <div id="example"></div>
  <script type="text/babel">
    var names = ['Alice','Emily','Kate'];

    ReactDOM.render(
      <div>
        {
          names.map(function(name){
            return <div>Hello,{name}!</div>
          })
        }
      </div>,
      document.getElementById('example')
    );
  </script>
</body>
</html>